package com.hq.mapper;

import com.hq.model.Guide;
import com.hq.model.ScenicSpot;
import com.hq.model.Shopping;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 游客
 */
@Mapper
public interface PassengerMapper {

    List<ScenicSpot> findSpot();

    int goShopping(String scenicSpot, String price, String payment, String username);

    List<Shopping> queryShoppingCart(String username);

    void del(int id);

    void myOrder(int id, String payment);

    Shopping goBuy(int id);

    List<Guide> findGuide();

    List<Shopping> paid(String paid);
}
